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(a)redhat.com>
To: "Gilad Chaplik" <gchaplik(a)redhat.com>
Cc: "Michael Pasternak" <mpastern(a)redhat.com>, "engine-devel"
<engine-devel(a)ovirt.org>, "Itamar Heim"
<iheim(a)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