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-tools

[Xen-tools] doc for xm python code

To: xen-tools@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-tools] doc for xm python code
From: moush0122@xxxxxxxx
Date: Mon, 08 Feb 2010 20:03:25 +0800
Delivery-date: Mon, 08 Feb 2010 04:03:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-tools-request@lists.xensource.com?subject=help>
List-id: Xen control tools developers <xen-tools.lists.xensource.com>
List-post: <mailto:xen-tools@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-tools>, <mailto:xen-tools-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-tools>, <mailto:xen-tools-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-tools-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
 Is there any document to help understand the python code for xm especially xm list? I would like to know sth about where to get the CPU time of each domU?
In function like getDomains, it invokes server.xenapi.VM.get_all_records(). What does 'server', 'xenapi' and 'VM' mean? Is seems that they are not names of class or field of some class? There are many get_all_records function in source code of xen tools. I don't know which one of  'get_all_records' funciton 'server.xenapi.VM.get_all_records()' refes to.


Best regards,
Mei

_______________________________________________
Xen-tools mailing list
Xen-tools@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-tools
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-tools] doc for xm python code, moush0122 <=