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

[Xen-API] power state evaluation

To: <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] power state evaluation
From: "Uli Staerk" <Uli.Staerk@xxxxxxxxxxxxxx>
Date: Thu, 16 Aug 2007 19:45:39 +0200
Delivery-date: Thu, 16 Aug 2007 10:45:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfgLUJXGzR2Yq9VRfyi48gK6YyKwA==
Thread-topic: power state evaluation

If I call VM.get_record() I get an key named

    [power_state] => Running

If I fetch the metrics by VM_metrics.get_record() I get a similar information:

    [state] => Array
        (
            [0] => running
        )

 

What is the difference? What is the real value?

 

 

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>