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

Re: RE: [Xen-API] Xen-API: XMLRPC Documentation



Thanks a lot. It helps me a lot.
Yes indeed, we need to make the documentations better to attract more developers to develop platforms and applications based on Xen-Cloud.

Actually I'm a little bit curious how the host side implemented, in user space or kernel space, although it's beyond my current understanding over Xen and XCP 

On Aug 26, 2010, at 05:06 AM, Rob Hoes <Rob.Hoes@xxxxxxxxxx> wrote:

Hi Yueyu,

There is a PDF document containing more details of the XML-RPC protocol. Unfortunately I cannot find an XCP-specific version online, but it is more or less the same as the XenServer API reference, which you can find at http://support.citrix.com/servlet/KbServlet/download/23833-102-646000/xenenterpriseapi.pdf. See Chapter 1 for the details of how to use the XML-RPC protocol.

Then, you can use http://www.xen.org/files/XenCloud/ocamldoc/ as a reference for the API's classes, calls etc. This is totally independent of any programming language.

We should probably integrate the information of Chapter 1 of the PDF in the HTML docs, and also put the PDF online...

Regards,
Rob

-----Original Message-----
From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of George Shuklin
Sent: 26 August 2010 12:57
To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-API] Xen-API: XMLRPC Documentation

Yes, you can ignore ocaml existence in first iteration (see below) and
use (for example) python with XenAPI.py interface. Main difference in
xapi and xend implementation of XenAPI is pool-related classed (xend
have no conception of pool).

About ocaml... In first XenAPI is language-neutral interface, but xapi
implementation is poor: they store some values in ocaml format (f.e.
last_boot_record for vm). But management part and main data are
available for use without ocaml concern

Documentation published on xen.org site:
http://www.xen.org/files/XenCloud/ocamldoc/

Yes, this is only reference. No guideline or tutorial available.

Ð ÐÑÐ, 26/08/2010 Ð 04:29 -0700, Yueyu Lin ÐÐÑÐÑ:
> Hi, all
> I have done some research over the interfaces of Xen(XCP). I found this page to introduce the history of API: http://wiki.xensource.com/xenwiki/API_History
> If I understand correctly, both xend and xapi have implemented the server side(host side) service. The client side(management tools) just sends the XML-RPC requests to either xend or xapi.
> My question is : I can only find xapi documentation describes the API in Ocaml way. I have no clue how to compose the XML-RPC and get the response. If my understanding is correct, I don't
> need to learn ocaml to use xapi since I only need to send XML-RPC requests to host that means I can use every language I like.
> I think if the xend and xapi need to implement the service, they should have the XML-RPC documentation first. Can someone point me the location of the whole XML-RPC documentation so that
> I can write my own client program to access and manage the XCP hosts.
> Thanks a lot!
>
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api



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

 


Rackspace

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