Adam Litke has uploaded a new change for review. Change subject: storage: add getHostId to DomainMonitor ......................................................................
storage: add getHostId to DomainMonitor Change-Id: I21c3c59678ad6a7d6087d05c7109ec4087cbb09c Signed-off-by: Adam Litke <ali...@redhat.com> --- M vdsm/storage/monitor.py 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/30/50630/1 diff --git a/vdsm/storage/monitor.py b/vdsm/storage/monitor.py index d5156f3..b4a0846 100644 --- a/vdsm/storage/monitor.py +++ b/vdsm/storage/monitor.py @@ -149,6 +149,9 @@ status[sdUUID] = monitor.getHostStatus(hostId) return status + def getHostId(self, sdUUID): + return self._monitors[sdUUID].hostId + def shutdown(self): """ Called during shutdown to stop all monitors without releasing the host -- To view, visit https://gerrit.ovirt.org/50630 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I21c3c59678ad6a7d6087d05c7109ec4087cbb09c Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Adam Litke <ali...@redhat.com> _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches