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] Regarding Xen api version associated with Xen release

To: Thiru <satarasu@xxxxxxxxx>
Subject: Re: [Xen-API] Regarding Xen api version associated with Xen release
From: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Date: Tue, 21 Oct 2008 08:47:58 +0800
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 20 Oct 2008 17:48:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4f14677d0810200457y422a930ajf50d72a1429a69b1@xxxxxxxxxxxxxx>
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: <4f14677d0810200457y422a930ajf50d72a1429a69b1@xxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.17 (X11/20080914)
Thiru wrote:
> Hi all,
> 
> Can i know which version of Xen contains Xenapi version 1.0.0 ? and how
> can i identify the api version  enabled in my xen machine?
> 

you can use your client to call the methods below:

[zhigang@zhigang xc]$ ./xc.py host.get_API_version_major 
7cc5a5fa-2db7-8196-2066-978854347a39
'1'
[zhigang@zhigang xc]$ ./xc.py host.get_API_version_minor 
7cc5a5fa-2db7-8196-2066-978854347a39
'0'
[zhigang@zhigang xc]$ ./xc.py host.get_API_version_vendor 
7cc5a5fa-2db7-8196-2066-978854347a39
'xenbits'
[zhigang@zhigang xc]$ ./xc.py host.get_API_version_vendor_implementation 
7cc5a5fa-2db7-8196-2066-978854347a39
[zhigang@zhigang xc]$ 

see:
xen-unstable/tools/python/xen/xend/XendAPIVersion.py

and xen-unstable/tools/python/xen/xend/XendAPI.py

regards,

zhigang

> Regards,
> Thiru
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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>