Skip to content

Add XML-RPC support to Xend

Anthony Liguori xen-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 3 patches 0 repliesNew

1 of 3 patches is in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Add XML-RPC support to Xendtools/python/xen/util/xmlrpclib2.py tools/python/xen/xend/server/SrvServer.py tools/python/xen/xend/server/XMLRPCServer.py+208 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Add XML-RPC support to Xend

The following patches implement XML-RPC for Xend. The first patch just adds a new server for Xend that exposes the same functions exposed by the S-Expression/HTTP server expect by XML-RPC. There is no change to the code paths taken for any xm commands so it's a rather safe patch to include.

The second patch changes XendClient to use XML-RPC and makes a few subsequent changes to xm to know about the new exception types generated. This changeset has been passing xm-test for the past couple weeks so I'm rather confident that it doesn't introduce any major regressions.

One thing to notice (from the attached diffstat output) is that there is a net reduction in SLOCs even though no functionality was removed. This is because XendClient was greatly simplified by using XML-RPC.

b/tools/python/xen/util/xmlrpclib2.py | 109 +++++++

b/tools/python/xen/xend/server/XMLRPCServer.py | 97 ++++++

tools/python/xen/xend/XendClient.py | 369 +++----------------------

tools/python/xen/xend/XendDomain.py | 2

tools/python/xen/xend/server/SrvServer.py | 2

tools/python/xen/xm/create.py | 8

tools/python/xen/xm/main.py | 26 -

7 files changed, 270 insertions(+), 343 deletions(-)

Regards,

Anthony Liguori