All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add XML-RPC support to Xend
@ 2006-02-28 22:22 Anthony Liguori
  2006-02-28 22:23 ` [PATCH 1/3] " Anthony Liguori
  2006-02-28 22:24 ` [PATCH 2/2] " Anthony Liguori
  0 siblings, 2 replies; 3+ messages in thread
From: Anthony Liguori @ 2006-02-28 22:22 UTC (permalink / raw)
  To: xen-devel; +Cc: Ewan Mellor

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-28 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28 22:22 [PATCH 0/3] Add XML-RPC support to Xend Anthony Liguori
2006-02-28 22:23 ` [PATCH 1/3] " Anthony Liguori
2006-02-28 22:24 ` [PATCH 2/2] " Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.