Change in mom[master]: Convert big numbers to i8 type in the XML-RPC interface

msivak at redhat.com msivak at redhat.com
Mon Jan 25 15:38:13 UTC 2016


Martin Sivák has submitted this change and it was merged.

Change subject: Convert big numbers to i8 type in the XML-RPC interface
......................................................................


Convert big numbers to i8 type in the XML-RPC interface

Make sure all numbers are transferable over XML-RPC with its signed
32 bit limitation. All numbers greater than that need to be converted
to long and the XML-RPC server configured to serialize long type
using the i8 extension.

Python supports reading i8 in the default configuration
(https://bugs.python.org/issue2985) and so the clients do not have to
do anything special.

Change-Id: Ief62c3dd120c9efca7e270b768e394f467ac3417
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1294833
Signed-off-by: Martin Sivak <msivak at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/51396
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Continuous-Integration: Jenkins CI
---
M mom.spec.in
M mom/MOMFuncs.py
M mom/RPCServer.py
M mom/__init__.py
M momd
M tests/GeneralTests.py
6 files changed, 63 insertions(+), 2 deletions(-)

Approvals:
  Martin Sivák: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests
  Dan Kenigsberg: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ief62c3dd120c9efca7e270b768e394f467ac3417
Gerrit-PatchSet: 8
Gerrit-Project: mom
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list