Vinzenz Feenstra has posted comments on this change. Change subject: vm: return diskMapping on status() ......................................................................
Patch Set 1: (1 comment) http://gerrit.ovirt.org/#/c/31700/1/vdsm/virt/vm.py File vdsm/virt/vm.py: Line 2435: self.conf['status'] = self.lastStatus Line 2436: # Filter out any internal keys Line 2437: d = dict((k, v) for k, v in self.conf.iteritems() Line 2438: if not k.startswith("_")) Line 2439: d['diskMapping'] = self.guestAgent.guestDiskMapping > I know that this is breakable if someone adds to the conf "diskMapping" as I don't think it's a problem. Line 2440: return d Line 2441: Line 2442: def getStats(self): Line 2443: """ -- To view, visit http://gerrit.ovirt.org/31700 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ia68ff3c36ba91cde893876a16fc6702419a60d49 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Liron Aravot <[email protected]> Gerrit-Reviewer: Allon Mureinik <[email protected]> Gerrit-Reviewer: Federico Simoncelli <[email protected]> Gerrit-Reviewer: Francesco Romani <[email protected]> Gerrit-Reviewer: Liron Aravot <[email protected]> Gerrit-Reviewer: Michal Skrivanek <[email protected]> Gerrit-Reviewer: Nir Soffer <[email protected]> Gerrit-Reviewer: Vinzenz Feenstra <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
