Change in vdsm[master]: JSONRPC: make Image.prepare to return info.

nsoffer at redhat.com nsoffer at redhat.com
Mon Jan 4 17:37:37 UTC 2016


Nir Soffer has submitted this change and it was merged.

Change subject: JSONRPC: make Image.prepare to return info.
......................................................................


JSONRPC: make Image.prepare to return info.

Currently the API which exposes Image.prepare is different between
XMLRPC and JSONRPC; When calling this verb via XMLRPC, info is
returned while nothing is returned when calling it via JSONRPC.

After preparing an image, the caller expects to get some valuable
information regarding it.

This patch makes "Image.prepare" JSONRPC verb call to return
relevant info for current usages, which are also exposed when using
XMLRPC.

Change-Id: Icc03568b35c14e1f5c7239c8c3df8f74acf3ec51
Signed-off-by: Amit Aviram <aaviram at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/51054
Reviewed-by: Nir Soffer <nsoffer at redhat.com>
Continuous-Integration: Jenkins CI
Reviewed-by: Adam Litke <alitke at redhat.com>
---
M lib/api/vdsmapi-schema.json
M vdsm/rpc/Bridge.py
2 files changed, 23 insertions(+), 1 deletion(-)

Approvals:
  Adam Litke: Looks good to me, approved
  Nir Soffer: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Amit Aviram: Verified



-- 
To view, visit https://gerrit.ovirt.org/51054
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icc03568b35c14e1f5c7239c8c3df8f74acf3ec51
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Amit Aviram <aaviram at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the vdsm-patches mailing list