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] XenAPI, xapi toolstack, XendAPI, XL

To: 'George Shuklin' <george.shuklin@xxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-API] XenAPI, xapi toolstack, XendAPI, XL
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Mon, 16 Aug 2010 17:52:01 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Mon, 16 Aug 2010 09:53:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1281975741.22948.43.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <1281975741.22948.43.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acs9Xzwojm96viWTSt2wWub9LBI9eQAAD3Mw
Thread-topic: [Xen-API] XenAPI, xapi toolstack, XendAPI, XL
Hi George,

It is a bit confusing. Here's the history:

* In the beginning was "xend" (the daemon) and "xm" (the CLI) both written in 
python, which communicated over an s-expression protocol.
* Next there was a desire to improve the protocol and also to switch from 
s-expressions to something based on XMLRPC. The "XenAPI" is the name for this 
new protocol.
* The "XenAPI" was implemented both in "xend" (python) and in "xapi" (ocaml) 
(although "xapi" wasn't open-source back then). Note that "xapi" doesn't share 
any code with "xend": it talks to xenstore, makes hypercalls etc directly.
* The version of the "XenAPI" implemented by "xend" and "xapi" have diverged: 
for example "xapi" is more focused on managing pools of hosts while "xend" is 
more of a single host service.
* The XCI (Xen Client Initiative) people also created a toolstack, called 
"xenvm" (ocaml)
* Next there was a desire to share more code between all toolstacks, to prevent 
confusion and accidental reimplementation. The library with the common code is 
called "libxl"
* Next there was a desire to create a "minimal" toolstack for testing "libxl": 
this is called "xl"

So:

Toolstacks: xend (python); xapi (ocaml); xenvm (ocaml); xl (C)
Protocols: original xend s-expressions; XenAPI (XMLRPC)
Libraries: libxl


Cheers,
Dave

> -----Original Message-----
> From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of George Shuklin
> Sent: 16 August 2010 16:22
> To: xen-api@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-API] XenAPI, xapi toolstack, XendAPI, XL
> 
> I feel myself little lost. I'm trying to figure relationship between
> components of xen (it tools). Please, correct me if I wrong.
> 
> XenAPI: XML-PRC via HTTP between xm and xend. Provided by xend, can be
> used by anyone. Xend wroted in Python, used in standalone xen
> installation (within Debian, RHEL, etc).
> 
> XAPI toolstack - some kind of wraper for XenAPI, wroted in OCaml, used
> in XCP.
> 
> And here questions: is XAPI and XenAPI same thing? (And what is
> XendAPI?). If XAPI toolstack and XenAPI same thing, does OCaml code
> reimplement XenAPI? Or reuse xend code?
> 
> 
> I hear about some other library to interact with xen: XL (libxl). But I
> could not find any documentation outside source code in xen-unstable.hg.
> 
> Please, help.
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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
<Prev in Thread] Current Thread [Next in Thread>