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] lowlevel access to xapi database

To: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Subject: Re: [Xen-API] lowlevel access to xapi database
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Fri, 18 Feb 2011 02:56:55 +0300
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 17 Feb 2011 15:55:33 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=PPnLIsMhqzctAQIDAHfR4SI+sVtX0cU327O4XEcF/eU=; b=HaoGUxntU0fSYYPkBpWDdOlN5zLb0iN++XBm1qroF4H91led/1yQOV7LvDXTGBUb68 pT+PqfmLd9TssM/ZRBxR1B94UcOGZOJ3fdVSc68ji9HS7Ep6HnEHWYoIGHrrV4Prdy+B tpELwPsToogq3iTja8SboCCUoDsoU3jQDfmd0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=seKrOg1YwR3uBuUgrCTKYDYQ672ejTWKFwGGrETU3/FAOMlR+ZWBnkWT2Y2cpEMcQv Jd13qvWWn7ZrQLnIzIK8nPZgq9SoP3x2+wOj1q6jezFDjXPLPJUL61WJpwFrDZCO5/Vq L9qICL87w6ccAOnYNF6KKy077YD0jk7QRnEiY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4AAA3C3D-E9C8-40D7-90E6-B429E8FA2266@xxxxxxxxxxxxx>
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: <1297360543.5691.15.camel@mabase> <4AAA3C3D-E9C8-40D7-90E6-B429E8FA2266@xxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11
Thank you.

We actually wish to have fast sync and XML-RPC seems be to bloated and have very strange issues with inner objects conversions (f.e. last_boot, other config and many others strings with format 'parse it yourself').

And we feel it can be really interesting to change some values of object unchangable via XenAPI, for example set every PV VM marked as 'pv-drivers-up-to-date' (is this field have any meaning for PV guest?), change their limits without shutdown (they will take place at near reboot time) and many others.

On 17.02.2011 12:40, Jonathan Ludlam wrote:
Not yet, it's internal only. Is there anything you need at the database level 
that's not available in the API?

Jon

On 10 Feb 2011, at 17:55, George Shuklin wrote:

Good day.

I wonder if there is way to access xapi data lower than XenAPI... I
means any other way to access them form host where xapi master
resides...

I look to sources and found some DB interface. It it available outside
xapi binary?

And I saw some json-related functions. Is any way to get access to data
in json format?

Thanks.


_______________________________________________
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