[Engine-devel] restapi: New params for import VM/Template

Gilad Chaplik gchaplik at redhat.com
Thu May 17 07:21:51 UTC 2012


cc'ing Simon,

Hi Simon, 

I remember we talked about why the engine can't decide implicitly if to clone the vm or not - it should be the user call?
Can you share your opinion about that?

Thanks, 
Gilad.

----- Original Message -----
> From: "Livnat Peer" <lpeer at redhat.com>
> To: "Gilad Chaplik" <gchaplik at redhat.com>
> Cc: "Michael Pasternak" <mpastern at redhat.com>, "engine-devel" <engine-devel at ovirt.org>, "Itamar Heim"
> <iheim at redhat.com>
> Sent: Thursday, May 17, 2012 9:43:45 AM
> Subject: Re: [Engine-devel] restapi: New params for import VM/Template
> 
> 
> > 
> > Going FW it would be nice to override parameters in import
> > vm/template
> 
> 
> I agree with you and that's why -
> 
> As a user I don't think there should be a difference in the API
> between:
> - Importing a VM and changing it's name
> - Importing a VM for the second time
> 
> The reason you want to add artificial difference between the two
> scenarios above is because currently there are implementations
> limitations (changing the image ID while importing is not supported
> yet)
> 
> I think that we should solve the limitations in the implementation
> instead of making our API cumbersome (implicit clone by name and
> adding
> some clone entity are both bad IMO).
> 
> 
> 
> Livnat
> 
> 



More information about the Engine-devel mailing list