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 SDK

To: Chonduy Nguyen <chonduy9@xxxxxxxxx>
Subject: Re: [Xen-API] Xen-API SDK
From: Marco Sinhoreli <msinhore@xxxxxxxxx>
Date: Wed, 3 Feb 2010 12:37:17 -0200
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 03 Feb 2010 06:37:15 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=scnJB5YjEN6R3sSXNSCLDxLty1YII2rUhvyLc1+O0Ww=; b=RObrER5cKP3nB3xGuwioXYIaKtIOFlXgQ6kFdxi2tKSBHMowv1apvajTAzVoadgM2u OkExURjo7T7TMTGF9tmri08EBghOwDULy1wpjjk7agBW3qwp0gKRlUXzz6bKyHwovjfu z0nuWSVNVJYuQdXCfOdgu6NdJUAP9r2SuJdsI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Yq0DhkEjzZF75UpTGMX922Gc6MCLTVD1KM3QR8PRm9Aistt7E5GGmr+lBieHvcEzOI F0P4TVm/tLCpc+q7za84EjUqLQqJoJC+QBQMkg7S65bgtofABJ9k1V3YrjGpX+clO4Dx fyQHJPY3GsJPTDOwKwxHwf/SNMxtjB4/iP6aE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <357869.6963.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <357869.6963.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Yes, this is the same API to use with XCP. You can manipulate all of XCP objects using the XenAPI.py, including start/stop Vms :) The xenapi connect on the dom0 master node and manage all resources like networks, VDIs, SRs, etc...

More information please read this reference manual: 

This has all you need.

Cheers,


On Tue, Feb 2, 2010 at 7:19 PM, Chonduy Nguyen <chonduy9@xxxxxxxxx> wrote:
Hi

I can't find XenApi.py  on www.xen.org but I find it from commuity.citrix.com/display/xs/Download+SDKs

May I ask if this is the same as XCP XenAPI?

Can I use XenAPI send  command to VM ? - I saw the doc mentioned doing this by calling XenAPI.xapi_local()
but in my case I want to have webservice running at different server to access VM  remotely ( start/stop) Vm .

I saw some discussion saying that we can't do XenAPI to send command. (???)

Is that mean we need to have XenAPI webserver on each VM

as XenAPI.Session(url) -- require url  passing in

Please let me know - I am new with this

Thank you

Thuymai



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




--
Marco Sinhoreli
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>