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

Michael Pasternak mpastern at redhat.com
Wed May 16 14:08:56 UTC 2012


On 05/16/2012 04:38 PM, Itamar Heim wrote:
>>>
>>> please note "vm exists" is based on vm uuid, not on vm name
>>
>> i think it based on name, Omer?
> 
> two different things:
> 1. vm name is unique.
> 2. import vm cannot import an existing vm based on it's uuid (which is what this feature is about).
> 
> i.e., if i create a vm X, export it, rename X to Y, i will still fail importing X without 'cloning' it (the cloning process is about changing uuid's of vm, disks, nics)

why import not changing ids by definition? this way only collision that might happen
is a vm.name ..., i.e 'cannot import vm.x cause vm with same name already exist' ...

-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D



More information about the Engine-devel mailing list