source: trunk/packages/xen-3.1/xen-3.1/tools/libxen/README @ 34

Last change on this file since 34 was 34, checked in by hartmans, 18 years ago

Add xen and xen-common

File size: 2.0 KB
Line 
1Xen API C Bindings
2==================
3
4This distribution is the source code to the proposed Xen API C bindings.
5
6The Xen API project will define an XML-RPC protocol for remote and local
7management of Xen-based systems, and a set of bindings for these XML-RPC calls
8into a number of languages (this package contains those to the C language).
9
10The intention is to standardise these XML-RPC calls, and then the Xen project
11will guarantee that that wire protocol will be supported for the long term.
12The bindings will also be supported in the Xen tree, giving a stable
13foundation for Xen management tools and middlewares, in particular the Xen CIM
14providers and libvirt.
15
16THIS IS A WORK IN PROGRESS.  The API and bindings are under active design and
17development, and this is a snapshot release for developers only.  Both the API
18and the C bindings are scheduled to be stabilised by the Xen 3.0.4 release
19i.e. October 2006 at the earliest.
20
21These bindings are open-source (LGPL), and will be committed as libraries to
22the Xen trees for all to use after the Xen 3.0.3 release.
23
24We welcome any discussion about this library and the API in general.  Please
25join the Xen-API mailing list if you are interested in this project. I (Ewan
26Mellor) will collate all the feedback from that list and push out new versions
27of the document and the bindings as and when.
28
29
30URLs
31----
32
33Xen-API wiki page:
34http://wiki.xensource.com/xenwiki/XenApi
35
36Xen-API mailing list:
37  http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
38
39
40Usage
41-----
42
43The bindings depend upon libxml2, the XML toolkit from the GNOME project; the
44test program depends upon libcurl3 also.  On Debian, you need the packages
45libxml2-dev and libcurl3-dev.
46
47To compile, type make.  To compile the test also, type make
48test/test_bindings, remembering the additional dependency.
49
50To run the test, do
51
52LD_LIBRARY_PATH=. ./test/test_bindings <url> <username> <password>
53
54where <url> is the fragment of the server URL that follows the http://, for
55example "localhost:8005/RPC2".
Note: See TracBrowser for help on using the repository browser.