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

[Xen-API] Start a VM from a .cfg file with xen api

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] Start a VM from a .cfg file with xen api
From: Agustín López <Agustin.Lopez@xxxxx>
Date: Mon, 12 May 2008 19:44:22 +0200
Delivery-date: Mon, 12 May 2008 10:44:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Hi!

This is my first mail on this list.

I am looking for one example to start a xen VM with the python binding of the xen API .
I am trying:

  vm = session.xenapi.VM.get_by_name_label(domainU)[0]

but this get one error because domainU is not started.

Any tip, please?

Regards,
Agustin

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

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