Adam Litke has submitted this change and it was merged. Change subject: New hypervisor interface for remote VDSM over XML-RPC with stats caching ......................................................................
New hypervisor interface for remote VDSM over XML-RPC with stats caching This patch adds a new vdsmxmlrpcInterface that uses getAllVmStats for retrieving all information about all VMs at the same time. The stats structure is then cached for 5 seconds to make sure we are not overloading VDSM with constant requests. XML-RPC client is stateless so it does not matter if VDSM dies or restarts between requests, MOM will treat the situation as if the host was empty and will keep running. Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1227714 Change-Id: I314f39f9020ee257827145a57f585e7921a913e3 Signed-off-by: Martin Sivak <msi...@redhat.com> Reviewed-on: https://gerrit.ovirt.org/41570 Reviewed-by: Francesco Romani <from...@redhat.com> Reviewed-by: Adam Litke <ali...@redhat.com> --- M mom/HypervisorInterfaces/Makefile.am A mom/HypervisorInterfaces/vdsmxmlrpcInterface.py 2 files changed, 272 insertions(+), 0 deletions(-) Approvals: Adam Litke: Looks good to me, approved Martin Sivák: Verified Francesco Romani: Looks good to me, but someone else must approve -- To view, visit https://gerrit.ovirt.org/41570 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I314f39f9020ee257827145a57f585e7921a913e3 Gerrit-PatchSet: 9 Gerrit-Project: mom Gerrit-Branch: master Gerrit-Owner: Martin Sivák <msi...@redhat.com> Gerrit-Reviewer: Adam Litke <ali...@redhat.com> Gerrit-Reviewer: Francesco Romani <from...@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Martin Sivák <msi...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches