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

Re: [Xen-API] how to use api



Ok, I will try, Thanks, John
 
clayton
 
2012-12-18

claytonly

åääïJohn Else
åéæéï2012-12-18 18:35
äéïRE: [Xen-API] how to use api
æääï"claytonly"<claytonly@xxxxxxx>,"xen-api"<xen-api@xxxxxxxxxxxxx>
æéï
 

Hi Clayton,

API bindings are generated for XenServer in C, C#, Java and Powershell â you can use these with XCP, and theyâre available here:

http://community.citrix.com/cdn/xs/sdks/

You may also be interested in the SDK guide: http://docs.vmd.citrix.com/XenServer/6.1.0/1.0/en_gb/sdk.html

âand the API reference: http://docs.vmd.citrix.com/XenServer/6.1.0/1.0/en_gb/api/

If you want to use Python, the easiest thing to do is copy the helper module which is at /usr/lib/python2.4/site-packages/XenAPI.py on an XCP host.

The API bindings are really just a thin wrapper around XMLRPC, so with a bit more effort you should be able to use the XCP API from any language with an XMLRPC library.

Hope this helps,

John

From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of claytonly
Sent: 18 December 2012 07:33
To: xen-api
Subject: [Xen-API] how to use api

Hello, all

I want to use API provided by xcp to develop some applications, where shold I begin? Many Thanks!

clayton

2012-12-18


claytonly

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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