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, 10 Feb 2010 17:25:31 -0200
Cc: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 10 Feb 2010 11:25:29 -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=znxZWbvGYezn5P98kqgKNsARDQYwQeWrsRR7Pn+g9+w=; b=YZb6r3IhV2zh+51cRPoB7ALcWQtTLg+xq45Fn2AEm90OwSVBlSsYDI5ZjqRDz8cNkU +/SOjoINNARk0N+C/+ZblhJHQ/3wuXsAJdY+Qkj7PD7/Ip4UBH9GechH5J6z+G7EzZ6i 8yMzY27O6L7eMpDJA5UqS01J4mgioC71VI6xQ=
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=c4fNjemyX3EyD1AXvfwPrmPMRr5clYd9xnmthB7TYtOBpDNkMctcfqHF3pZ1aW7VV1 1EZwITTq745RdVSpgKLYzfr0iZf6qf3AN/v78QdWg3brUuNgk3EV8Hc9PolYfrILggNy vWf7GO4/JeY1mxb/sAILmoCrNVdW5ncAVyF7k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <621592.15522.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> <20fe3cf61002030637r4f37946cy51e668705d3634e0@xxxxxxxxxxxxxx> <621592.15522.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Hi Chounduy,

This is the link to download the xenapi.py

http://community.citrix.com/display/xs/XenServer+XenAPI.py


Cheers,

On Wed, Feb 10, 2010 at 3:02 AM, Chonduy Nguyen <chonduy9@xxxxxxxxx> wrote:
Hi Marco,

I would like to use XenAPI python version - and wondering if I need to download the whole SDK or not?

I tried to download this - and unzip but didnot see XenAPI.py there.

Can you please help?

Thanks

Thuymai





From: Marco Sinhoreli <msinhore@xxxxxxxxx>
To: Chonduy Nguyen <chonduy9@xxxxxxxxx>
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Sent: Wed, February 3, 2010 6:37:17 AM
Subject: Re: [Xen-API] Xen-API SDK

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




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