Martin Polednik has uploaded a new change for review.
Change subject: virtTests: add way to query full stats via jsonrpc ......................................................................
virtTests: add way to query full stats via jsonrpc
Change-Id: Ic2c2f50d862bfd1447aa812a037b5b41f3efd6af Signed-off-by: Martin Polednik mpolednik@redhat.com --- M lib/vdsm/jsonrpcvdscli.py M tests/functional/utils.py 2 files changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/09/45309/1
diff --git a/lib/vdsm/jsonrpcvdscli.py b/lib/vdsm/jsonrpcvdscli.py index 6e65e0d..eda01c4 100644 --- a/lib/vdsm/jsonrpcvdscli.py +++ b/lib/vdsm/jsonrpcvdscli.py @@ -43,6 +43,7 @@ 'getVdsStats': 'Host.getStats', 'getVmStats': 'VM.getStats', 'list': 'Host.getVMList', + 'fullList': 'Host.getVMFullList', 'migrationCreate': 'VM.migrationCreate', 'ping': 'Host.ping', 'setBalloonTarget': 'VM.setBalloonTarget', diff --git a/tests/functional/utils.py b/tests/functional/utils.py index 26562aa..1414386 100644 --- a/tests/functional/utils.py +++ b/tests/functional/utils.py @@ -221,7 +221,7 @@ return _parse_result(result)
def getVmList(self, vmId): - result = self.vdscli.list('true', [vmId]) + result = self.vdscli.getVMFullList() code, msg, vm_list = _parse_result(result, True) return code, msg, vm_list[0]