]> xenbits.xensource.com Git - xenrt-citrix/xenrt.git/commitdiff
Add hypervisor_id to deployment record
authorJohn Dilley <john.dilley@citrix.com>
Wed, 18 Nov 2015 16:18:17 +0000 (16:18 +0000)
committerJohn Dilley <john.dilley@citrix.com>
Wed, 18 Nov 2015 16:18:17 +0000 (16:18 +0000)
exec/xenrt/lib/xenserver/guest.py

index d9fc3be67e87860a8041570f3d2c4ecca2db2499..c71c72f15082fe77696b20e0ded3b3a853a12891 100755 (executable)
@@ -4468,6 +4468,7 @@ exit /B 1
     def getDeploymentRecord(self):
         ret = super(Guest, self).getDeploymentRecord()
         ret['networks'] = {}
+        ret['hypervisor_id'] = self.uuid
         try:
             os = self.paramGet("os-version")
             if os and os != "<not in database>":