Added uuid to the PIF_metrics record.
authorEwan Mellor <ewan@xensource.com>
Tue, 30 Jan 2007 13:52:03 +0000 (13:52 +0000)
committerEwan Mellor <ewan@xensource.com>
Tue, 30 Jan 2007 13:52:03 +0000 (13:52 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendPIFMetrics.py

index 68b32f16535782429e7be997e0b3e99110e7264a..8c6525166440a40862c950cac070c230b68c9207 100644 (file)
@@ -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()
                 }