[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-API] Create a Virtual machine with a specific UUID


  • To: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
  • From: Leonelli Mauro <m.leonelli@xxxxxxxx>
  • Date: Wed, 6 Oct 2010 12:19:16 +0200
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 06 Oct 2010 03:19:29 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: ActlPg571VasHxSnRO6+zdaqesL0cAAAY8Cw
  • Thread-topic: [Xen-API] Create a Virtual machine with a specific UUID

Hi Vincent,
do you have a python snippet as proof of concept?

By navigating XenApi, I find import/export  only as an enum variable of 
vm_operations

Mauro

-----Original Message-----
From: Vincent Hanquez [mailto:vincent.hanquez@xxxxxxxxxxxxx]
Sent: mercoledì 6 ottobre 2010 12:06
To: Leonelli Mauro
Cc: Alberto González Rodríguez; xen-api
Subject: Re: [Xen-API] Create a Virtual machine with a specific UUID

On 06/10/10 10:52, Leonelli Mauro wrote:
> Hi,
> thanks Alberto for the quick answer.
> There a couple of good benefits by doing it
>
>          1) If a VM is creating using the config file on xen, UUID set on the 
> file overwrites the one autogenerated (i.e. UUID is not autogenerated)
>          2) If I delete a VM and want to recreate the exact copy of it, I'd 
> like to use the very same UUID (that is, btw, used by me to store info on the 
> vm on a local databse)

I believe vm-{import/export} do what you're looking for.

--
Vincent

--
The information transmitted is intended for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please contact the 
sender and delete the material from any computer.

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.