WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Many same managed domain

To: Jim Fehlig <jfehlig@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Many same managed domain
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Wed, 25 Jul 2007 16:16:33 +0900
Delivery-date: Wed, 25 Jul 2007 00:14:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46A69679.50908@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <46A69679.50908@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>Daniel Berrange wrote:
>[snip]
>>> Thanks for your explanation. 
>>> I have a question to your logic.  I think that the logic need a VM 
>>> name check when no VM with same UUID exists.  Am I right?
>>>
>>>   - If the UUID is not specified
>>>         - If a VM with same name exists
>>>             => Update the config for that existing VM
>>>         - Else no vm with same name exists
>>>             => Define a brand new VM with auto-generated UUID
>>>   - Else UUID is specified
>>>         - If a VM with same UUID exists
>>>               - If name is different
>>>                     => Error
>>>               - Else if name is same
>>>                     => Update the config for that existing VM
>>>         - Else no VM with same UUID exists
>>> -           => Define a branch new VM with that name
>>> +             - If name is different
>>> +                   => Define a branch new VM with that name
>>> +             - Else if name is same
>>> +                   => Error
>>>     
>>
>> Yes you are correct - if UUID does not clash we still need to check for
>> a VM with same name, but different UUID.
>>   
>
>As a side note, Xen API allows for domains with same name - in spec at
>least :-).

Hmm..... What should I do?

Thanks,
 Kan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel