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-api

Re: [Xen-API] Xen-api domain create

To: Wojcieszonek Piotr <piotr@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-API] Xen-api domain create
From: Tibor Répási <repasi@xxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Oct 2009 14:21:18 +0200
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 21 Oct 2009 05:21:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <F62DE35A-5CC8-4D82-ADF5-2968EB0BC182@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <F62DE35A-5CC8-4D82-ADF5-2968EB0BC182@xxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx

On Oct 21, 2009, at 1:59 PM, Wojcieszonek Piotr wrote:

Hi
I have problem with xen-api. I don't know what argument I must pass to vm.create function to create domain. I read xen-api documentation but I still don't know nothing about "VM record" format.


Hy,

in my reading the VM record is a Map that maps all fields of VM (listed in the table at section 2.8.1 of the API reference) except those marked RO_run. Try to do a VM.get_record of an existing VM and you get a valid example for a VM record.

--
Best regards / Mit freundlichen Grüßen / Üdvözlettel

Tibor Répási
assist. lecturer

Department of Information Technology
University of Miskolc





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

<Prev in Thread] Current Thread [Next in Thread>