[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Added uuid to the PIF_metrics record.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1170165123 0
# Node ID aff5b538fcdf53dc7b232bc6d20a8b6458ed3c10
# Parent  a9912f2e472b0c2b3b49eb176407f238973c2baf
Added uuid to the PIF_metrics record.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendPIFMetrics.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r a9912f2e472b -r aff5b538fcdf tools/python/xen/xend/XendPIFMetrics.py
--- a/tools/python/xen/xend/XendPIFMetrics.py   Tue Jan 30 13:51:45 2007 +0000
+++ b/tools/python/xen/xend/XendPIFMetrics.py   Tue Jan 30 13:52:03 2007 +0000
@@ -40,7 +40,8 @@ class XendPIFMetrics:
         return 0.0
 
     def get_record(self):
-        return {'PIF'          : self.pif.uuid,
+        return {'uuid'         : self.uuid,
+                'PIF'          : self.pif.uuid,
                 'io_read_kbs'  : self.get_io_read_kbs(),
                 'io_write_kbs' : self.get_io_write_kbs()
                 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.